package com.cet.designpatterns.state.mytest;

/**
 * 审核状态结束
 */
public class AuditOverState implements LeaveRequestState {
    @Override
    public void doWork(StateMachine context) {
        LeaveRequestModel businessObj = (LeaveRequestModel) context.getBusinessObj();
        System.out.println(businessObj.getUser()+",请假流程结束,结果是："+businessObj.getResult());
    }
}
